import '../theme/index.css'
import ElementUI from 'element-ui'
import 'element-ui/lib/index.js'
import ECharts from 'vue-echarts/components/ECharts'
import {HappyScroll} from 'vue-happy-scroll'
import 'vue-happy-scroll/docs/happy-scroll.css'
import '@riophae/vue-treeselect/dist/vue-treeselect.css'
import vueTreeselect from '@riophae/vue-treeselect'
import directives from './directives'
import componentLib from '@comp'

export default {
    install (Vue) {
        directives.install(Vue)
        Vue.component('happy-scroll', HappyScroll)
        Vue.component('chart', ECharts)
        Vue.component('vue-treeselect', vueTreeselect)
        Vue.use(ElementUI)
        Vue.use(componentLib)
    }
}
